<!-- 车辆详情 -->
<div class="layui-col-sm12">
    <div class="layui-tab layui-tab-card" lay-filter="demo" style="overflow: hidden;">
        <ul class="layui-tab-title">
            <li class="layui-this">车辆信息</li>
            <li>维保记录</li>
            <li>加油记录</li>
            <li>保险记录</li>
            <li>年检记录</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                    <blockquote class="layui-elem-quote">基本信息</blockquote>
                <div class="layui-row">
                <div class="layui-col-md12">
                    <div class="layui-col-lg4 layui-col-md6 layui-col-sm12">
                        <div class="layui-form-item">
                            <label class="layui-form-label">车辆号：</label>
                            <div class="layui-input-block">
                                <input type="text" name="number" value=" " class="layui-input border-none" readonly='readonly' >
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">车辆来源：</label>
                            <div class="layui-input-block">
                                <input type="text" name="source2" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">变速箱类型：</label>
                            <div class="layui-input-block">
                                <input type="text" name="gearbox_type2" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">能源类型：</label>
                            <div class="layui-input-block">
                                <input type="text" name="energy_type2" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">所属公司：</label>
                            <div class="layui-input-block">
                                <input type="text" name="company_name" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">行驶证有效日期：</label>
                            <div class="layui-input-block">
                                <input type="text" name="driving_license_effective" value="" class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">行驶里程：</label>
                            <div class="layui-input-block">
                                <input type="text" name="mileage" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-lg4 layui-col-md6 layui-col-sm12">
                        <div class="layui-form-item">
                            <label class="layui-form-label">品牌/型号：</label>
                            <div class="layui-input-block">
                                <input type="text" name="brand_name" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">车身结构：</label>
                            <div class="layui-input-block">
                                <input type="text" name="structure2" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">排量：</label>
                            <div class="layui-input-block">
                                <input type="text" name="displacement" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">发动机号：</label>
                            <div class="layui-input-block">
                                <input type="text" name="engine_no" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">是否北斗车辆：</label>
                            <div class="layui-input-block">
                                <input type="text" name="is_beidou" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        
                        <div class="layui-form-item">
                            <label class="layui-form-label">委托公司：</label>
                            <div class="layui-input-block">
                                <input type="text" name="entrust_company_name" value=""  class="layui-input border-none layui-elip" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">行驶证发放日期：</label>
                            <div class="layui-input-block">
                                <input type="text" name="driving_license_issued" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-lg4 layui-col-md6 layui-col-sm12">
                        <div class="layui-form-item">
                            <label class="layui-form-label">车型：</label>
                            <div class="layui-input-block">
                                <input type="text" name="car_type_name" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">车身颜色：</label>
                            <div class="layui-input-block">
                                <input type="text" name="colour" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">车龄：</label>
                            <div class="layui-input-block">
                                <input type="text" name="car_age" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">车载人数：</label>
                            <div class="layui-input-block">
                                <input type="text" name="carry" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">当前状态：</label>
                            <div class="layui-input-block">
                                <input type="text" name="car_state2" value=" " class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label">购买金额：</label>
                            <div class="layui-input-block">
                                <input type="text" name="buy_money" value="" class="layui-input border-none" readonly='readonly'>
                            </div>
                        </div>
                        <div class="layui-form-item">
                                <label class="layui-form-label">购买日期：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="buy_date" value="" class="layui-input border-none" readonly='readonly'>
                                </div>
                            </div>
                    </div>
                    <div class="layui-col-md12">
                        <div class="layui-form-item">
                            <label class="layui-form-label">行驶证照片：</label>
                            <div class="layui-input-block">
                                <img class="driving_license_img" src="" alt="行驶证正本" style="width: 100px;height:100px;margin: 9px;border:1px solid #e6e6e6">
                                <img class="driving_license_img2" src="" alt="行驶证副本" style="width: 100px;height:100px;margin: 9px;border:1px solid #e6e6e6">
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md12">
                        <div class="layui-form-item">
                            <label class="layui-form-label">车辆照片：</label>
                            <div class="layui-input-block">
                                <img class="front_img" src="" alt="车辆正面" style="width: 100px;height:100px;margin: 9px;border:1px solid #e6e6e6">
                                <img class="back_img" src="" alt="车辆背面" style="width: 100px;height:100px;margin: 9px;border:1px solid #e6e6e6">
                                <img class="side_img" src="" alt="车辆45°侧面" style="width: 100px;height:100px;margin: 9px;border:1px solid #e6e6e6">
                                <img class="engine_img" src="" alt="车辆发动机" style="width: 100px;height:100px;margin: 9px;border:1px solid #e6e6e6">
                            </div>
                        </div>
                    </div>
                </div>
            </div>        
            </div>
            
            <div class="layui-tab-item">
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>车牌号：{$Think.get.number}</legend>
                </fieldset>
                <div>
                    <table  id="service" lay-filter="demo"></table>
                </div>
            </div>
            <div class="layui-tab-item" >
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>车牌号：{$Think.get.number}</legend>
                </fieldset>
                <div>
                    <table  id="refuel" lay-filter="demo"></table>
                </div>
            </div>
            <div class="layui-tab-item" >
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>车牌号：{$Think.get.number}</legend>
                </fieldset>
                <div>
                        <table  id="insurance" lay-filter="demo"></table>
                    </div>
            </div>
            <div class="layui-tab-item" >
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
                    <legend>车牌号：{$Think.get.number}</legend>
                </fieldset>
                <div>
                    <table  id="AS" lay-filter="demo"></table>
                </div>
            </div>
        </div>
    </div>
     {if $Think.get.op == 'search2'}
     {else/}
    <button type="button" class="layui-btn layui-btn layui-btn-normal back1">返回上一页</button>
     {/if}
    {if $Think.get.op}
    <button type="button" class="layui-btn layui-btn layui-btn-normal choose">选中</button>
    {/if}
</div>
<script type="text/html" id="demo">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">
       <i class="layui-icon">&#xe642;</i>详情</a>
</script>